<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:78:"/data/wwwroot/default/tp5/public/../application/index/view/index/tocenter.html";i:1539785433;}*/ ?>
<html>
<head>
    <meta charset="utf-8">
    <title>个人中心</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="stylesheet" href="/static/center/css/safe/css.css" />
    <link rel="stylesheet" href="/static/center/css/safe/common.min.css" />
    <link rel="stylesheet" href="/static/center/css/safe/ms-style.min.css" />
    <link rel="stylesheet" href="/static/center/css/safe/personal_member.min.css" />
    <link rel="stylesheet" href="/static/center/css/safe/Snaddress.min.css" />
    <link rel="stylesheet" href="/static/center/css/sui.css" />
    <link rel="stylesheet" href="/static/center/css/tocenter.css" />
    <link rel="stylesheet" href="/static/admin/lib/layui/css/layui.css"  media="all">
    <script src="/static/index/js/jquery-3.2.1.min.js"></script>
    <script src="/static/index/layui/layui.js"></script>
    <script type="text/javascript" src="/static/center/js/sui.js" ></script>
</head>

<body class="ms-body">
    <div id="" class="ng-top-banner"></div>

    <header class="ms-header ms-header-inner ms-head-position">
        <article class="ms-header-menu" style="" id="c1">
            <div class="header-menu">
                <div class="ms-logo">
                    <a class="" name="Myyigou_index_none_daohangLogo">
                        <span style="" id="c2"><?php echo $user['zz_name']; ?></span>
                    </a>
                </div>

                <nav class="ms-nav">
                    <ul>
                        <li class="nav-manage selected">
                            <a href="/" data-url="">返回首页</a>
                            <i class="nav-arrow" hidden></i>
                        </li>
                        <?php if(empty($user['who'])): ?>
                        <li class=""><a href="" data-url=""  style="" id="c3"><?php echo $user['zz_name']; ?>的个人中心</a>
                            <i class="nav-arrow"></i>
                        </li>
                        <?php else: ?>
                        <li class=""><a href="" data-url=""  style="" id="c4">个人中心</a>
                            <i class="nav-arrow"></i>
                        </li>
                        <li class="nav-manage selected">
                            <a href="../userdata" data-url="">账户管理</a>
                            <i class="nav-arrow" hidden></i>
                        </li>
                        <?php endif; ?>
                    </ul>
                </nav>
            </div>
        </article>

        <article class="ms-useinfo">
            <div class="header-useinfo" id="">
                <div class="ms-avatar">
                    <div class="useinfo-avatar">
                        <?php if(empty($user['zz_icon'])): ?>
                        <img src="/static/center/img/头像.png">
                        <?php else: ?>
                        <img src="/static/index/uploads/<?php echo $user['zz_icon']; ?>" style="" id="c5" >
                        <?php endif; ?>
                        <div class="edit-avatar"></div>
                        <a class="text-edit-avatar">修改</a>
                    </div>
                    <?php if(empty($user['who'])): if(empty($userFollowInf)): ?>
                    <span class="layui-btn layui-btn-xs follow" data-id="<?php echo $user['zz_id']; ?>" use-id="<?php echo $user['userIdNow']; ?>">关注</span>
                    <?php else: ?>
                    <span class="layui-btn layui-btn-xs layui-btn-danger disfollow" data-id="<?php echo $user['zz_id']; ?>" use-id="<?php echo $user['userIdNow']; ?>">取消关注</span>
                    <?php endif; else: ?>
                    <a href="">&nbsp;&nbsp;&nbsp;&nbsp;</a>
                    <?php endif; ?>
                </div>

                <div class="ms-name-info">
                    <div class="link-myinfo">
                        <a>ta的ID: <?php echo $user['zz_id']; ?></a>
                    </div>
                    <?php if(!empty($user['who'])): ?>
                    <div class="info-safety">
                        <span class="safety-lv lv-3">
                            <a >安全等级：<span>中</span></a>
                        </span>
                    </div>
                    <?php endif; ?>
                </div>
            </div>
        </article>
    </header>

    <div id="ms-center" class="personal-member">
        <div class="cont">
            <div class="cont-side">
                <div class="side-neck" style="" id="c6"><i></i></div>
                <div class="ms-side" style="" id="c7">
                    <article class="side-menu side-menu-off">
                        <dl class="side-menu-tree" style="" id="c8">
                            <?php if(empty($user['who'])): ?>
                            <dd><a href="#usercomment">ta的评价</a></dd>
                            <dd><a href="#coll">ta的收藏</a></dd>
                            <?php else: ?>
                            <dd><a href="#usercomment">我的评价</a></dd>
                            <dd><a href="#coll">我的收藏</a></dd>
                            <?php endif; ?>
                        </dl>
                        <a ison="on" class="switch-side-menu icon-up-side"><i></i></a>
                    </article>
                </div>
            </div>

            <div class="cont-main">
                <div class="main-wrap mt15" style="" id="c9">
                    <div class="server-wrapper">
                        <div class="server-tab" style="" id="c10">
                            <div style=" " id="c11">
                                <div style="" id="c12">
                                    <div style="" id="c13">
                                        <div style="" id="c14">
                                            <span style="" id="c15"><?php echo $time['date']; ?></span>
                                            <span style="" id="c16"><?php echo $time['day']; ?></span>
                                        </div>
                                    </div>

                                    <?php if(empty($user['who'])): ?>
                                    <div style="" id="c17">
                                        <div style="" id="c18">
                                            <span style="" id="c19">ta的积分</span>
                                            <span style="" id="c20">ta的积分为 ：<?php echo $user['zz_integral']; ?></span>
                                            <img src="/static/center/img/我的买豆/矢量智能对象.png" style="" id="c21" />
                                        </div>
                                    </div>

                                    <div style="" id="c22">
                                        <div style="" id="c23">
                                            <span style="" id="c24">ta的提问</span>
                                            <span style="" id="c25">总共提问 <?php echo $user['userProNum']; ?> 个</span>
                                            <img src="/static/center/img/我的买豆/猪的图标.png" style="" id="c26" />
                                        </div>
                                    </div>
                                    <?php else: ?>
                                    <div style="" id="c27">
                                        <div style="" id="c28">
                                            <span style="" id="c29">我的积分</span>
                                            <span style="" id="c30">ta的积分为 ：<?php echo $user['zz_integral']; ?></span>
                                            <img src="/static/center/img/我的买豆/矢量智能对象.png" style="" id="c31" />
                                        </div>
                                    </div>

                                    <div style="" id="c32">
                                        <div style="" id="c33">
                                            <span style="" id="c34">我的提问</span>
                                            <span style="" id="c35">总共提问 <?php echo $user['userProNum']; ?> 个</span>
                                            <img src="/static/center/img/我的买豆/猪的图标.png" style="" id="c36" />
                                        </div>
                                    </div>
                                    <?php endif; ?>

                                    <div style="" id="c37"></div>
                                </div>

                                <div style="" id="c38">
                                    <p style="" id="c39">菜单管理</p>
                                    <?php if(empty($user['who'])): ?>
                                    <div style="" id="c40">
                                        <h2><p style="" id="c41">ta得关注数:</p></h2>
                                        <?php if(empty($followUserInf)): ?>
                                        <p style="" id="c42">ta很懒 ，关注空空如也<br/>
                                        </p>
                                        <?php else: if(is_array($followUserInf) || $followUserInf instanceof \think\Collection || $followUserInf instanceof \think\Paginator): $i = 0; $__LIST__ = $followUserInf;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$fui): $mod = ($i % 2 );++$i;?>
                                        <a href="../tocenter/<?php echo $fui['zz_id']; ?>"><?php echo $fui['zz_name']; ?></a><br>
                                        <?php endforeach; endif; else: echo "" ;endif; endif; ?>
                                        <h2><p style="" id="c43">ta的粉丝数:</p></h2>
                                        <?php if(empty($userFollowInf)): ?>
                                        <p style="" id="c44">ta魅力不足 ，暂无人关注呢 ， 您可以<br/></p>
                                        <span class="layui-btn layui-btn-xs follow" data-id="<?php echo $user['zz_id']; ?>" use-id="<?php echo $user['userIdNow']; ?>">关注ta</span>
                                        <?php else: if(is_array($userFollowInf) || $userFollowInf instanceof \think\Collection || $userFollowInf instanceof \think\Paginator): $i = 0; $__LIST__ = $userFollowInf;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$ufi): $mod = ($i % 2 );++$i;?>
                                        <a href="../tocenter/<?php echo $ufi['zz_id']; ?>"><?php echo $ufi['zz_name']; ?></a>
                                        <?php endforeach; endif; else: echo "" ;endif; endif; ?>
                                    </div>

                                    <div style="" id="c45">
                                        <p style="" id="c46">ta收藏的问题</p>
                                        <?php if(empty($userProblemCollect)): ?>
                                        <img src="/static/center/img/个人中心/形状-1.png" style="" id="c47" />
                                        <p style="" id="c48">ta的收藏空空的，您还可以<br/>
                                            <a href="/">去首页看看</a>
                                        </p>
                                        <?php else: if(is_array($userProblemCollect) || $userProblemCollect instanceof \think\Collection || $userProblemCollect instanceof \think\Paginator): $i = 0; $__LIST__ = $userProblemCollect;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$upc): $mod = ($i % 2 );++$i;?>
                                        <div id="c49">
                                            <a  href="../details/<?php echo $upc['zz_problem_id']; ?>" >
                                                <?php echo $upc['zz_problem_tit']; ?>
                                            </a>
                                        </div>

                                        <?php endforeach; endif; else: echo "" ;endif; endif; ?>
                                    </div>

                                    <?php else: ?>
                                    <div style="" id="c50">
                                        <h2><p style="" id="c51">我得关注:</p></h2>
                                        <?php if(empty($followUserInf)): ?>
                                        <p style="" id="c52">您的关注空空的，赶紧<br/>
                                            <a href="/">去首页看看吧</a>
                                        </p>
                                        <?php else: if(is_array($followUserInf) || $followUserInf instanceof \think\Collection || $followUserInf instanceof \think\Paginator): $i = 0; $__LIST__ = $followUserInf;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$fui): $mod = ($i % 2 );++$i;?>
                                        <a href="../tocenter/<?php echo $fui['zz_id']; ?>"><?php echo $fui['zz_name']; ?></a>
                                        <?php endforeach; endif; else: echo "" ;endif; endif; ?>
                                        <h2><p style="" id="c53">我的粉丝:</p></h2>
                                        <?php if(empty($userFollowInf)): ?>
                                        <p style="" id="c54">您的粉丝空空的<br/></p>
                                        <?php else: if(is_array($userFollowInf) || $userFollowInf instanceof \think\Collection || $userFollowInf instanceof \think\Paginator): $i = 0; $__LIST__ = $userFollowInf;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$ufi): $mod = ($i % 2 );++$i;?>
                                        <a href="../tocenter/<?php echo $ufi['zz_id']; ?>"><?php echo $ufi['zz_name']; ?></a>
                                        <?php endforeach; endif; else: echo "" ;endif; endif; ?>
                                    </div>

                                    <div style="" id="c55">
                                        <p style="" id="c56">收藏的问题</p>
                                        <?php if(empty($userProblemCollect)): ?>
                                        <img src="/static/center/img/个人中心/形状-1.png" style="" id="c57" />
                                        <p style="" id="c58">您的收藏空空的，赶紧<br/>
                                            <a href="/">去首页看看吧</a>
                                        </p>
                                        <?php else: if(is_array($userProblemCollect) || $userProblemCollect instanceof \think\Collection || $userProblemCollect instanceof \think\Paginator): $i = 0; $__LIST__ = $userProblemCollect;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$upc): $mod = ($i % 2 );++$i;?>
                                        <div id="c59">
                                            <a href="../details/<?php echo $upc['zz_problem_id']; ?>" >
                                                <?php echo $upc['zz_problem_tit']; ?>
                                            </a>
                                        </div>
                                        <?php endforeach; endif; else: echo "" ;endif; endif; ?>
                                    </div>
                                    <?php endif; ?>
                                </div>
                                <!--右侧---end------->

                                <?php if(empty($user['who'])): ?>
                                <div style="" id="c60">
                                    <div style="" id="c61">
                                        <p style="" id="c62">ta的提问</p>
                                    </div>
                                    <?php if(empty($userProblem)): ?>
                                    <img src="/static/center/img/个人中心/形状-1.png" style="" id="c63" />
                                    <p style="" id="c64">ta还没进行过提问 ， 您可以<br/>
                                        <a href="add">去提问下</a>
                                    </p>
                                    <?php else: if(is_array($userProblem) || $userProblem instanceof \think\Collection || $userProblem instanceof \think\Paginator): $i = 0; $__LIST__ = $userProblem;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$up): $mod = ($i % 2 );++$i;?>
                                    <div style="" id="c65">
                                        <div  id="c66">

                                                <a href="../details/<?php echo $up['zz_problem_id']; ?>">
                                                    <?php echo $up['zz_problem_tit']; ?>
                                                </a>

                                        </div>
                                        <div id="c67">
                                            <strong><?php echo $up['zz_problem_time']; ?></strong>
                                        </div>
                                    </div>
                                    <?php endforeach; endif; else: echo "" ;endif; endif; ?>
                                </div>
                                <?php else: ?>
                                <div style="" id="c68">
                                    <div style="" id="c69">
                                        <p style="" id="c70">我的提问</p>
                                    </div>
                                    <?php if(empty($userProblem)): ?>
                                    <img src="/static/center/img/个人中心/形状-1.png" style="" id="c71" />
                                    <p style="" id="c72">您还没进行过提问，赶紧<br/>
                                        <a href="add">去提问吧</a>
                                    </p>
                                    <?php else: if(is_array($userProblem) || $userProblem instanceof \think\Collection || $userProblem instanceof \think\Paginator): $i = 0; $__LIST__ = $userProblem;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$up): $mod = ($i % 2 );++$i;?>
                                    <div id="c65">
                                        <div id="c66">
                                                <a href="../details/<?php echo $up['zz_problem_id']; ?>">
                                                    <?php echo $up['zz_problem_tit']; ?>
                                                </a>
                                        </div>
                                        <div id="c67">
                                            <strong><?php echo $up['zz_problem_time']; ?></strong>
                                        </div>
                                    </div>
                                    <?php endforeach; endif; else: echo "" ;endif; endif; ?>
                                </div>
                                <?php endif; ?>

                                <!--右侧---评价块------->
                                <a name="usercomment"></a>
                                <?php if(empty($user['who'])): ?>
                                <div style="" id="c76">
                                    <div style="" id="c77">
                                        <p style="" id="c78">ta做过的评价</p>
                                    </div>
                                    <?php if(empty($userComment)): ?>
                                    <img src="/static/center/img/个人中心/形状-1.png" style="" id="c79" />
                                    <p style="" id="c80">ta很懒，还未做过评价 ， 您可以<br/>
                                        <a href="/">去首页看看</a>
                                    </p>
                                    <?php else: if(is_array($userComment) || $userComment instanceof \think\Collection || $userComment instanceof \think\Paginator): $i = 0; $__LIST__ = $userComment;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$uc): $mod = ($i % 2 );++$i;?>
                                    <div style="" id="c81">
                                        <div style="" id="c82">

                                                <a href="../details/<?php echo $uc['zz_problem_id']; ?>">
                                                    <?php echo $uc['zz_comment_content']; ?>
                                                </a>

                                        </div>
                                        <div style="" id="c83">
                                            <strong><?php echo $uc['zz_comment_time']; ?></strong>
                                        </div>
                                    </div>
                                    <?php endforeach; endif; else: echo "" ;endif; endif; ?>
                                </div>
                                <?php else: ?>

                                <div style="" id="c84">
                                    <div style="" id="c85">
                                        <p style="" id="c86" >我的评价</p>
                                    </div>
                                    <?php if(empty($userComment)): ?>
                                    <img src="/static/center/img/个人中心/形状-1.png" style="" id="c87" />
                                    <p style="" id="c88">您还没有过评价，赶紧<br/>
                                        <a href="/">去首页看看</a>
                                    </p>
                                    <?php else: if(is_array($userComment) || $userComment instanceof \think\Collection || $userComment instanceof \think\Paginator): $i = 0; $__LIST__ = $userComment;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$uc): $mod = ($i % 2 );++$i;?>
                                    <div style="" id="c89">
                                        <div style="" id="c90">

                                                <a href="../details/<?php echo $uc['zz_problem_id']; ?>">
                                                    <?php echo $uc['zz_problem_tit']; ?>
                                                </a>

                                        </div>
                                        <div style="" id="c91">
                                            <strong><?php echo $uc['zz_comment_time']; ?></strong>
                                        </div>
                                    </div>
                                    <?php endforeach; endif; else: echo "" ;endif; endif; ?>
                                </div>
                                <?php endif; ?>


                                <!--右侧---收藏块------->
                                <a name="coll"></a>
                                <?php if(empty($user['who'])): ?>
                                <div style="" id="c92">
                                    <div style="" id="c93">
                                        <p style="" id="c94">ta的收藏</p>
                                    </div>
                                    <?php if(empty($userProblemCollect)): ?>
                                    <img src="/static/center/img/个人中心/形状-1.png" style="" id="c95" />
                                    <p style="" id="c96">ta很懒，还未有过收藏 ， 您可以<br/>
                                        <a href="/">去首页看看</a>
                                    </p>
                                    <?php else: if(is_array($userProblemCollect) || $userProblemCollect instanceof \think\Collection || $userProblemCollect instanceof \think\Paginator): $i = 0; $__LIST__ = $userProblemCollect;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$upc): $mod = ($i % 2 );++$i;?>
                                    <div style="" id="c97">
                                        <div style="" id="c98">
                                                <a href="../details/<?php echo $upc['zz_problem_id']; ?>">
                                                    <?php echo $upc['zz_problem_tit']; ?>
                                                </a>
                                        </div>

                                        <div style="" id="c99">
                                            <strong><?php echo $upc['zz_problem_time']; ?></strong>
                                        </div>
                                    </div>
                                    <?php endforeach; endif; else: echo "" ;endif; endif; ?>
                                </div>
                                <?php else: ?>

                                <div style="" id="c100">
                                    <div style="" id="d1">
                                        <p style="" id="d2" >我的收藏</p>
                                    </div>
                                    <?php if(empty($userProblemCollect)): ?>
                                    <img src="/static/center/img/个人中心/形状-1.png" style="" id="d3" />
                                    <p style="" id="d4">您还没有过收藏，赶紧<br/>
                                        <a href="/">去首页看看吧</a>
                                    </p>
                                    <?php else: if(is_array($userProblemCollect) || $userProblemCollect instanceof \think\Collection || $userProblemCollect instanceof \think\Paginator): $i = 0; $__LIST__ = $userProblemCollect;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$upc): $mod = ($i % 2 );++$i;?>
                                    <div style="" id="d5">
                                        <div style="" id="d6">

                                                <a href="../details/<?php echo $upc['zz_problem_id']; ?>">
                                                    <?php echo $upc['zz_problem_tit']; ?>
                                                </a>


                                        </div>
                                        <div style="" id="d7">
                                            <strong><?php echo $upc['zz_problem_time']; ?></strong>
                                        </div>
                                    </div>
                                    <?php endforeach; endif; else: echo "" ;endif; endif; ?>
                                </div>
                                <?php endif; ?>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="clear "></div>
        <div class="ng-footer ">
            <textarea class="footer-dom " id="footer-dom-02 "></textarea>
            <div class="ng-fix-bar "></div>
        </div>
    </div>
    <div style="text-align:center;"></div>
    <script type="text/javascript " src="/static/center/js/safe/ms_common.min.js "></script>
    <script type="text/javascript " src="/static/center/js/tocenter.js "></script>
</body>
</html>